package com.appwoo.txtws.adapter;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.TextView;
import com.appwoo.txtws.bean.PhoneBean;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ScreenPhoneAdapter extends BaseAdapter
{
  private Context context;
  private List<PhoneBean> list;
  private Map<Integer, View> viewMap = new HashMap();

  public ScreenPhoneAdapter(Context paramContext, List<PhoneBean> paramList)
  {
    this.context = paramContext;
    this.list = paramList;
  }

  public int getCount()
  {
    return this.list.size();
  }

  public Object getItem(int paramInt)
  {
    return null;
  }

  public long getItemId(int paramInt)
  {
    return paramInt;
  }

  public View getView(int paramInt, View paramView, ViewGroup paramViewGroup)
  {
    if (paramView == null)
      paramView = ((LayoutInflater)this.context.getSystemService("layout_inflater")).inflate(2130903196, null);
    PhoneBean localPhoneBean = (PhoneBean)this.list.get(paramInt);
    String str1 = localPhoneBean.getPname();
    String str2 = localPhoneBean.getPno();
    TextView localTextView1 = (TextView)paramView.findViewById(2131493509);
    TextView localTextView2 = (TextView)paramView.findViewById(2131493510);
    localTextView1.setText(str1);
    localTextView2.setText(str2);
    return paramView;
  }

  public void setData(List<PhoneBean> paramList)
  {
    this.list = paramList;
  }
}

/* Location:           C:\Documents and Settings\Administrator\classes_dex2jar.jar
 * Qualified Name:     com.appwoo.txtws.adapter.ScreenPhoneAdapter
 * JD-Core Version:    0.6.2
 */